package cn.hongwei.service;

import cn.hongwei.pojo.Stock;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 *
 */
public interface StockService extends IService<Stock> {

    /**
     * 扣减库存
     * @param productId 产品编号
     */
    void reduce(Integer productId);
}
